package net.xdclasss.elasticsearch.service.impl;

import com.github.vanroy.springdata.jest.JestElasticsearchTemplate;
import net.xdclasss.elasticsearch.repository.NBAPlayerRepository;
import net.xdclasss.elasticsearch.service.IPlayerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PlayerSerivceImpl implements IPlayerService {

    @Resource
    private NBAPlayerRepository nbaPlayerRepository;

    private static final String NBA_INDEX = "nba_latest";

    private static final int START_OFFSET = 0;

    private static final  int MAX_COUNT = 1000;
    @Resource
    private JestElasticsearchTemplate template;



}
